﻿using IService;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace WhbApi.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class UserInfoController : ControllerBase
    {
        private readonly IUserInfoService infoService;

        public UserInfoController(IUserInfoService infoService)
        {
            this.infoService = infoService;
        }
        [HttpGet("Show")]
        public dynamic Show()
        {
            return infoService.Show();
        }
    }
}
